home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacTech 1 to 12
/
MacTech-vol-1-12.toast
/
Source
/
MacTech® Magazine
/
Volume 04 - 1988
/
04.08 Aug 88
/
Basic Column Stuff
/
Runtime demo source
/
Runtime.demo
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Text File
|
1988-06-17
|
370 b
|
20 lines
|
[
TEXT/TRUE
]
! Runtime Demo
LIBRARY "launch*"
CALL AppParms(name$,message,nfiles)
PRINT "Current Application name is:";name$
SELECT CASE message
CASE 0
PRINT "Files to be opened:"
CASE 1
PRINT "Files to be printed:"
END SELECT
FOR i=1 to nfiles
CALL Appfile(i,filename$,"")
PRINT filename$
CALL ClrAppFile(i)
NEXT i
if nfiles=0 then print "NONE"
GET KEY k
END